package com.yunpeng.dishes.dao.model.relation;

import com.yunpeng.dishes.dao.model.RelationDO;

import java.math.BigDecimal;
import java.util.Date;

/**
 * DishesFoodIngredientsDO 菜品食材配比
 *
 * @author : Moore(hemw)
 * @date : 2020-03-26
 */
public class DishesFoodIngredientsDO extends RelationDO {

    /**
     * 菜品代码
     */
    private String dishesCode;
    /**
     * 菜品名称
     */
    private String dishesName;
    /**
     * 食材代码
     */
    private String foodIngredientsCode;
    /**
     * 食材名称
     */
    private String foodName;
    /**
     * 食材种类
     */
    private String foodCategory;
    /**
     * 食材净含量
     */
    private BigDecimal netContent;
    /**
     * 展示序号
     */
    private Short seq;

    /**
     * 食材占比
     */
    private BigDecimal foodProportion;

    public DishesFoodIngredientsDO() {

    }

    public DishesFoodIngredientsDO(Long id, Short flag, Long creator, Date createTime, Long updater, Date updateTime, String dishesCode, String dishesName, String foodIngredientsCode, String foodName, String foodCategory, BigDecimal netContent, Short seq, BigDecimal foodProportion) {
        super(id, flag, creator, createTime, updater, updateTime);
        this.dishesCode = dishesCode;
        this.dishesName = dishesName;
        this.foodIngredientsCode = foodIngredientsCode;
        this.foodName = foodName;
        this.foodCategory = foodCategory;
        this.netContent = netContent;
        this.seq = seq;
        this.foodProportion = foodProportion;
    }

    public String getDishesCode() {
        return dishesCode;
    }

    public void setDishesCode(String dishesCode) {
        this.dishesCode = dishesCode;
    }

    public String getDishesName() {
        return dishesName;
    }

    public void setDishesName(String dishesName) {
        this.dishesName = dishesName;
    }

    public String getFoodIngredientsCode() {
        return foodIngredientsCode;
    }

    public void setFoodIngredientsCode(String foodIngredientsCode) {
        this.foodIngredientsCode = foodIngredientsCode;
    }

    public String getFoodName() {
        return foodName;
    }

    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    public BigDecimal getNetContent() {
        return netContent;
    }

    public void setNetContent(BigDecimal netContent) {
        this.netContent = netContent;
    }

    public Short getSeq() {
        return seq;
    }

    public void setSeq(Short seq) {
        this.seq = seq;
    }

    public BigDecimal getFoodProportion() {
        return foodProportion;
    }

    public void setFoodProportion(BigDecimal foodProportion) {
        this.foodProportion = foodProportion;
    }

    public String getFoodCategory() {
        return foodCategory;
    }

    public void setFoodCategory(String foodCategory) {
        this.foodCategory = foodCategory;
    }

    @Override
    public String toString() {
        return "DishesFoodIngredientsDO{" +
                "id=" + id +
                ", dishesCode='" + dishesCode + '\'' +
                ", dishesName='" + dishesName + '\'' +
                ", foodIngredientsCode='" + foodIngredientsCode + '\'' +
                ", foodName='" + foodName + '\'' +
                ", foodCategory='" + foodCategory + '\'' +
                ", netContent=" + netContent +
                ", seq=" + seq +
                ", foodProportion=" + foodProportion +
                ", flag=" + flag +
                ", creator='" + creator + '\'' +
                ", createTime=" + createTime +
                ", updater='" + updater + '\'' +
                ", updateTime=" + updateTime +
                "} " + super.toString();
    }
}
